using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.User
{
    public class Profile
    {
        public Profile()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }
        private Int64 _profileid;
        private Int64 _userid;
        private string _salutation;
        private string _firstname;
        private string _surname;
        private DateTime _dob;
        private char _gender;
        private int _maritalstatus;
        private string _nationality;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public Int64 ProfileId
        {
            get { return _profileid; }
            set { _profileid = value; }
        }

        public Int64 UserId
        {
            get { return _userid; }
            set { _userid = value; }
        }

        public string Salutation
        {
            get { return _salutation; }
            set { _salutation = value; }
        }

        public string FirstName
        {
            get { return _firstname; }
            set { _firstname = value; }
        }

        public string SurName
        {
            get { return _surname; }
            set { _surname = value; }
        }

        public DateTime DOB
        {
            get { return _dob; }
            set { _dob = value; }
        }

        public char Gender
        {
            get { return _gender; }
            set { _gender = value; }
        }

        public int MaritalStatus
        {
            get { return _maritalstatus; }
            set { _maritalstatus = value; }
        }

        public string Nationality
        {
            get { return _nationality; }
            set { _nationality = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _profileid = 0;
            _userid = 0;
            _salutation = "";
            _firstname = "";
            _surname = "";
            _dob = CE.Global.General.GetUTCDateTime();
            _gender = '-';
            _maritalstatus = -1;
            _nationality = "";
            _status = false;
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();
        }

    }
}
